The U.S. oil and gas industry has been riding a consolidation wave over the past two years. ConocoPhillips on Wednesday agreed to buy Marathon Oil in a $22.5 billion deal, the latest in a series of mega-mergers in the oil and gas industry as companies look to bolster reserves.